Skip to content

Conversation

@tbaederr
Copy link
Contributor

@tbaederr tbaederr commented Dec 2, 2025

Save them as a pointer intead of using a shared_ptr. This we we can use the pointer integer value to differentiate the "no initmap yet" and "all values initialzed" cases.

This regresses one test case in const-eval.c, but as it turns out, that only worked coincidentally before.

Save them as a pointer intead of using a shared_ptr.
This we we can use the pointer integer value to differentiate
the "no initmap yet" and "all values initialzed" cases.

This regresses one test case in const-eval.c, but as it turns out, that
only worked coincidentally before.
@tbaederr tbaederr added clang:frontend Language frontend issues, e.g. anything involving "Sema" clang:bytecode Issues for the clang bytecode constexpr interpreter labels Dec 2, 2025
@tbaederr tbaederr merged commit 8fe38c4 into llvm:main Dec 6, 2025
13 of 15 checks passed
@antmox
Copy link
Contributor

antmox commented Dec 8, 2025

Hi @tbaederr
Looks like this broke clang-armv7-2stage buildbot : https://lab.llvm.org/buildbot/#/builders/79/builds/2531
Could you please look at this ?

tbaederr added a commit that referenced this pull request Dec 9, 2025
@tbaederr
Copy link
Contributor Author

tbaederr commented Dec 9, 2025

Damn. I've reverted it for now via 773a6a9

honeygoyal pushed a commit to honeygoyal/llvm-project that referenced this pull request Dec 9, 2025
llvm#170272)

Save them as a pointer intead of using a shared_ptr. This we we can use
the pointer integer value to differentiate the "no initmap yet" and "all
values initialzed" cases.

This regresses one test case in const-eval.c, but as it turns out, that
only worked coincidentally before.
honeygoyal pushed a commit to honeygoyal/llvm-project that referenced this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang:bytecode Issues for the clang bytecode constexpr interpreter clang:frontend Language frontend issues, e.g. anything involving "Sema"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants